// JavaScript Document
function setupRotator() {
			if($('.textItem').length > 1){
			$('.textItem:first').addClass('current').fadeIn(2000);
			setInterval('textRotate()', 3000);
			}
			}
function textRotate() {
			var current = $('#sloganne > .current');
			if(current.next().length == 0) {
			current.removeClass('current').fadeOut(2000);
			$('.textItem:first').addClass('current').fadeIn(2000);
			}
			else {
			current.removeClass('current').fadeOut(2000);
			current.next().addClass('current').fadeIn(2000);
			}
			}

			
				
$(document).ready(function(){
setupRotator();
setInterval("animdiv();",1000);}); 